from usr.libs.common import Database


# 默认用户配置文件路径
DEFAULT_CONFIG_PATH = '/usr/default.json'


class Settings(Database):
    """配置类"""

    # 主控版本
    VERSION = "1.0.0"

    @classmethod
    def get_version(cls):
        return cls.VERSION


# 全局配置对象
settings = Settings(DEFAULT_CONFIG_PATH)
